projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e8d41
)
Fix compilation warning in viper-exp involving tags
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 20 Jun 2019 12:02:22 +0000
(14:02 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 20 Jun 2019 12:02:22 +0000
(14:02 +0200)
* lisp/emulation/viper-ex.el (ex-tag): Use xref/next-error instead
of the deprecated tags functions.
lisp/emulation/viper-ex.el
patch
|
blob
|
history
diff --git
a/lisp/emulation/viper-ex.el
b/lisp/emulation/viper-ex.el
index f64960dd75374c9ac903558bdb384b13d7193237..26bca686cb35a137455b0e56a6ab2c19df784a08 100644
(file)
--- a/
lisp/emulation/viper-ex.el
+++ b/
lisp/emulation/viper-ex.el
@@
-2013,8
+2013,10
@@
Please contact your system administrator. "))))))
(condition-case conds
(progn
(if (string= tag "")
- (find-tag ex-tag t)
- (find-tag-other-window ex-tag))
+ ;; If we have an *xref* window, `next-error' will take
+ ;; us to the next definition.
+ (next-error)
+ (xref-find-definitions-other-window ex-tag))
(viper-change-state-to-vi))
(error
(viper-change-state-to-vi)